home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Doco ƒ / CSMP ƒ / CSMP-V1-078.TXT < prev    next >
Encoding:
Text File  |  1992-06-04  |  44.0 KB  |  1,271 lines

  1. C.S.M.P. Digest             Tue, 12 May 92       Volume 1 : Issue 78
  2.  
  3. Today's Topics:
  4.  
  5.     Question opening data fork
  6.     Touch-a-folder code -- can someone repost?
  7.     Does anyone know about "Time-Saver Engines"?
  8.     question: THINK C "real window" console available?
  9.     TextWidth Weirdness
  10.     Reading binary input
  11.     Symantec FTP Site
  12.     Doing playthru on a Quadra
  13.     How do you get the top, left, width, and heighth  from a WIND
  14.     BASIC on the mac
  15.     More help with app startup tracing, please.
  16.     ATTN: Addison Weseley (sp): Book idea
  17.  
  18.  
  19. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  20.  
  21. These digests are available (by using FTP, account anonymous, your email
  22. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  23. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  24. Questions list.  The last several issues of the digest are available from
  25. sumex-aim.stanford.edu as well.
  26.  
  27. These digests are also available via email.  Just send a note saying that you
  28. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  29. automatically receive each new digest as it is created.
  30.  
  31. The digest is a collection of articles from the internet newsgroup comp.sys.
  32. mac.programmer.  It is designed for people who read c.s.m.p. semi-regularly
  33. and want an archive of the discussions.  If you don't know what a newsgroup
  34. is, you probably don't have access to it.  Ask your systems administrator(s)
  35. for details.  (This means you can't post questions to the digest.)
  36.  
  37. The articles in these digests are taken directly from comp.sys.mac.programmer.
  38. They are not edited; all articles included in this digest are in their original
  39. posted form.  The only articles that are -not- included in these digests are
  40. those which didn't receive any replies (except those that give information
  41. rather than ask a question).  All replies to each article are concatenated
  42. onto the original article in the order in which they were received.  Article
  43. threads are not added to the digests until the last article added to the
  44. thread is at least one month old (this is to ensure that the thread is dead
  45. before adding it to the digests).
  46.  
  47. Send administrative mail to mkelly@cs.uoregon.edu.
  48.  
  49. -------------------------------------------------------
  50.  
  51. From: skinner@oread.cc.ukans.edu
  52. Subject: Question opening data fork
  53. Date: 9 Apr 92 09:14:55 GMT
  54. Organization: University of Kansas Academic Computing Serces
  55.  
  56. Just a quick question.  Can someone tell me what I am doing
  57. wrong with this:
  58.  
  59. type
  60.  FCBPBHdl = ^FCBPBPtr;
  61.  FCBPBPtr = ^FCBPBRec;
  62.  paramBlock = FCBPBRec;
  63.  
  64. var
  65.  dataForkInfo: FCBPBPtr;
  66.  
  67. begin
  68.  dataForkInfo := FCBPBPtr(NewPtr(SizeOf(paramBlock)));
  69.  dataForkInfo^.ioRefNum := fileReferenceNumber;
  70.  dataForkInfo^.ioFCBIndx := 0;
  71.  OSResult := PBGetFCBInfo(dataForkInfo, false);
  72. end;
  73.  
  74. THINK tells me that the dataForkInfo variable in the O 
  75. PBGetFCBInfo call is of the wrong type but according
  76. to IM it is supposed to be a FCBPBPtr which I believe is
  77. what it is      Tnaks.
  78.  
  79.  
  80.  
  81. exit
  82.  
  83. +++++++++++++++++++++++++++
  84.  
  85. From: d88-jwa@hemul.nada.kth.se (Jon W{tte)
  86. Date: 9 Apr 92 20:56:46 GMT
  87. Organization: Royal Institute of Technology, Stockholm, Sweden
  88.  
  89. .cc.ukans.edu> skinner@oread.cc.ukans.edu writes:
  90.  
  91.    begin
  92.     dataForkInfo := FCBPBPtr(NewPtr(SizeOf(paramBlock)));
  93.     dataForkInfo^.ioRefNum := fileReferenceNumber;
  94.     dataForkInfo^.ioFCBIndx := 0;
  95.     OSResult := PBGetFCBInfo(dataForkInfo, false);
  96.    end;
  97.  
  98.    THINK tells me that the dataForkInfo variable in the O 
  99.    PBGetFCBInfo call is of the wrong type but according
  100.    to IM it is supposed to be a FCBPBPtr which I believe is
  101.  
  102. Well, why don't you switch to "C" where a quick cast to
  103. void * fixes it all ? :-)
  104.  
  105. Seriously, I believe it actually might need another of those
  106. strange union types...
  107.  
  108. Anyway, you do some other things wrong, like not assigning
  109. the ioNamePtr to point to a Str255 - even though the arrow
  110. is pointing left, you have to do that. And you should
  111. use NewPtrClear instead of NewPtr. And, most important,
  112. you should de-allocate your memory when you're done...
  113.  
  114. - -- 
  115. h+@nada.kth.se; Jon W{tte, the Diplomat - NOT!
  116.  
  117. +++++++++++++++++++++++++++
  118.  
  119. From: Keith_Rollin@taligent.com (Keith Rollin)
  120. Date: 10 Apr 92 21:35:43 GMT
  121. Organization: Taligent
  122.  
  123. In article <1992Apr9.031455.1@oread.cc.ukans.edu>, skinner@oread.cc.ukans.edu
  124. writes:
  125. > Just a quick question.  Can someone tell me what I am doing
  126. > wrong with this:
  127. > type
  128. >  FCBPBHdl = ^FCBPBPtr;
  129. >  FCBPBPtr = ^FCBPBRec;
  130. >  paramBlock = FCBPBRec;
  131. >  
  132. > var
  133. >  dataForkInfo: FCBPBPtr;
  134. >  
  135. > begin
  136. >  dataForkInfo := FCBPBPtr(NewPtr(SizeOf(paramBlock)));
  137. >  dataForkInfo^.ioRefNum := fileReferenceNumber;
  138. >  dataForkInfo^.ioFCBIndx := 0;
  139. >  OSResult := PBGetFCBInfo(dataForkInfo, false);
  140. > end;
  141. > THINK tells me that the dataForkInfo variable in the O 
  142. > PBGetFCBInfo call is of the wrong type but according
  143. > to IM it is supposed to be a FCBPBPtr which I believe is
  144. > what it is      Tnaks.
  145.  
  146. I don't see the problem with your routine off the top of my head, but doesn't
  147. THINK Pascal have the problem of not showing exactly where the type problem is?
  148. For instance, could it be that the problem is with OSResult and not
  149. dataForkInfo? Could you have declared OSResult as an INTEGER and not OSErr?
  150.  
  151. Also, what version of THINK Pascal are you using? I remember that Symantec used
  152. to do some things with their header files that would make them differ from
  153. Inside Mac and MPW conventions. With the latest version of THINK C and Pascal,
  154. header/interface files are more consistant with MPW and Inside Mac.
  155.  
  156. I'd also like to mention a few pointers:
  157.  
  158. - - Don't create the parameter block on the heap. There's no need for this,
  159. especially since you are making a synchronous call. Simply declare the buffer on
  160. the stack and use that.
  161.  
  162. - - Fill in the ioNamePtr field. GetFCBInfo will use the value in that field as a
  163. pointer to a string buffer into which to put the name of the file. If you leave
  164. that field at a random value, GetFCBInfo will store the name into a random place
  165. in memory.
  166.  
  167. I'd probably write the routine as follows:
  168.  
  169. VAR
  170.     dataForkInfo: FCBPBRec;
  171.     fileName: Str255;
  172.     OSResult: OSErr;
  173.  
  174. BEGIN
  175.     dataForkInfo.ioRefNum := fileReferenceNumber;
  176.     dataForkInfo.ioFCBIndx := 0;
  177.     dataForkInfo.ioNamePtr := @fileName;  { Use NIL if you don't care
  178.                                             about receiving the name }
  179.     OSResult := PBGetFCBInfoSync(@dataForkInfo);
  180.     if (OSResult = noErr) DO BEGIN
  181.         DoSomething(dataForkInfo);
  182.     END;
  183. END;
  184.  
  185.  
  186. ---------------------------
  187.  
  188. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  189. Subject: Touch-a-folder code -- can someone repost?
  190. Date: 9 Apr 92 21:41:48 GMT
  191. Organization: Kalamazoo College
  192.  
  193. Someone posted code a while back to "touch" a folder of a changed file,
  194. thus forcing the Finder to update its listing.  I can't remember what
  195. exactly the "touch" consisted of, and I neglected to archive that
  196. particular snippet.
  197.  
  198. Could someone re-post it, or mail it to me please?
  199.  
  200. Vielen Dank.
  201. - -- 
  202.  Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
  203.  "Almost all portables today employ passive-matrix LCDs, and no one expects
  204.  active-matrix screens to be cost-competitive for a few years" -PC World 2/92
  205.  
  206. +++++++++++++++++++++++++++
  207.  
  208. From: d88-jwa@byse.nada.kth.se (Jon W{tte)
  209. Date: 10 Apr 92 16:11:44 GMT
  210. Organization: Royal Institute of Technology, Stockholm, Sweden
  211.  
  212. .kzoo.edu> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  213.  
  214.    Someone posted code a while back to "touch" a folder of a changed file,
  215.    thus forcing the Finder to update its listing.  I can't remember what
  216.    exactly the "touch" consisted of, and I neglected to archive that
  217.    particular snippet.
  218.  
  219. It seems I play the generic folder-code server these days.
  220. Maybe I should unsibscribe :-)
  221.  
  222. Straight from the treasure chest of my own code, for free:
  223.  
  224. void
  225. TouchDir ( short vol , long dir ) // If the file is changed within vol , dir
  226. {
  227.     CInfoPBRec info ;
  228.     Name name ;
  229.     short err ;
  230.  
  231.     BlockClear ( & info , sizeof ( info ) ) ; // Play Safe
  232.     info . dirInfo . ioDrDirID = dir ;
  233.     info . dirInfo . ioVRefNum = vol ;
  234.     info . dirInfo . ioNamePtr = name ;
  235.     info . dirInfo . ioFDirIndex = -1 ;
  236.  
  237.     err = PBGetCatInfo ( & info , 0 ) ; // Get the info on the folder
  238.     if ( err ) {
  239.  
  240.         return err ;
  241.     }
  242.  
  243.     info . dirInfo . ioCompletion = 0 ;
  244.     info . dirInfo . ioDrDirID = info . dirInfo . ioDrParID ;
  245.     info . dirInfo . ioFDirIndex = 0 ;
  246.     GetDateTime ( & ( info . dirInfo . ioDrMdDat ) ) ; // This is now
  247.  
  248.     err = PBSetCatInfo ( & info , 0 ) ; // Set the modified time
  249.  
  250.     return err ;
  251. }
  252. - -- 
  253. h+@nada.kth.se; Jon W{tte, the Diplomat - NOT!
  254.  
  255. ---------------------------
  256.  
  257. From: pietro@deis35.cineca.it (Pietro Caselli)
  258. Subject: Does anyone know about "Time-Saver Engines"?
  259. Date: 10 Apr 92 11:57:22 GMT
  260. Organization: Department of Mathematics, University of Bologna, Italy
  261.  
  262. I hope that the Mac programmer community could help me. I do not usually
  263. read this newsgroup, so this may have come out agin in the past. Please
  264. forgive me it this is so, and answer me nonetheless.
  265.  
  266. I have found in an old copy of the Mac Development Tool & Languages
  267. Guidebook (Fall 1989) an advertisement page about some source code called
  268. "Time-Saver Engines", containing a full-featured WP, an object oriented draw
  269. editor and a finder-like interface, from a SW firm called "DataPak Software"
  270.  
  271. I tried to phone them, but the firm has moved and a different firm answered.
  272. I don't have a newer copy of the Guidebook, so I cannot check whether the
  273. advertisement page still exists.
  274.  
  275. All I have is their address,
  276. DataPak Software, Inc.
  277. 14011 Ventura Boulevard #507
  278. Sherman Oaks, CA 91423
  279. Tel. 818 - 905-6419
  280.  
  281. Does anyone know whether this firm still exists and sells this software? If
  282. it does, what is their address, telephone, fax or E-mail? If it does not, do
  283. you know whether it is possible to directly contact the authors or have in
  284. any other way a personal agreement for obtaining that code?
  285.  
  286. I have used a friend account as there are some problem with my access to 
  287. the news, and I don't usually read this newsgroup, so please e-mail me 
  288. directly at
  289. fabio@cirfid.unibo.it.
  290.  
  291. Thank you very much.
  292.  
  293. Fabio Vitali
  294.  
  295. - --
  296. Fabio Vitali                  There's a clear morale to this tale, now that
  297. Dept of Computer Science     I think about it: when you're dead you're dead.
  298. Univ. of Bologna  ITALY             And yet another morale occurs to me now:
  299. e-mail: fabio@dm.unibo.it         make love when you can. It's good for you.
  300.                                                               Kurt Vonnegut
  301. - -- 
  302. Pietro Caselli                |
  303. Internet: pietro@deis35.cineca.it    |    IF YOU MEET THE BUDDHA
  304.       zaphod@petruz.sublink.org    |     ON THE ROAD,KILL HIM.
  305.  
  306. +++++++++++++++++++++++++++
  307.  
  308. From: d88-jwa@byse.nada.kth.se (Jon W{tte)
  309. Date: 10 Apr 92 16:16:04 GMT
  310. Organization: Royal Institute of Technology, Stockholm, Sweden
  311.  
  312. .cineca.it> pietro@deis35.cineca.it (Pietro Caselli) writes:
  313.  
  314.    I have found in an old copy of the Mac Development Tool & Languages
  315.    Guidebook (Fall 1989) an advertisement page about some source code called
  316.    "Time-Saver Engines", containing a full-featured WP, an object oriented draw
  317.    editor and a finder-like interface, from a SW firm called "DataPak Software"
  318.  
  319.    Does anyone know whether this firm still exists and sells this software? If
  320.  
  321. Yes, it's called the word solutions engine these days, and has lots
  322. of add-ons available.
  323.  
  324.    it does, what is their address, telephone, fax or E-mail? If it does not, do
  325.    you know whether it is possible to directly contact the authors or have in
  326.  
  327. DataPak Software Inc
  328. 9317 NE Highway 99, Suite G
  329. Vancouver, Washington
  330. 98665-8900
  331. fax 206 573 9269
  332. - -- 
  333. h+@nada.kth.se; Jon W{tte, the Diplomat - NOT!
  334.  
  335. ---------------------------
  336.  
  337. From: eburk@russian.sfsu.edu (Eli K. Burk)
  338. Subject: question: THINK C "real window" console available?
  339. Date: 9 Apr 92 20:41:14 GMT
  340.  
  341. I am learning C and have decided to learn C first -then- experiment
  342. with the toolbox. However THINK C's console.h does not include a 
  343. "real" mac window - has anyone written one. The best case would one in  
  344. which I could just comment out console.h an have the code be ansi
  345. compliant.
  346.  
  347. If one doesn't exist perhaps someone could make one available for ftp.
  348.  
  349. eli
  350.  
  351. p.s. thanks to all that helped me before
  352.    (i.e. the "help me help myself" posting)
  353.  
  354. +++++++++++++++++++++++++++
  355.  
  356. From: dougm@cns.caltech.edu (Doug McNought)
  357. Date: 10 Apr 92 03:27:22 GMT
  358. Organization: California Institute of Technology
  359.  
  360.  
  361. In article <1992Apr9.134115.1716@nic.csu.net> eburk@russian.sfsu.edu (Eli K. Burk) writes:
  362.  
  363.    I am learning C and have decided to learn C first -then- experiment
  364.    with the toolbox. However THINK C's console.h does not include a 
  365.    "real" mac window - has anyone written one. The best case would one in  
  366.    which I could just comment out console.h an have the code be ansi
  367.    compliant.
  368.  
  369.    If one doesn't exist perhaps someone could make one available for ftp.
  370.  
  371. What do you mean, "real"?? I am befogged. Please be more specific.
  372.  
  373. - -doug
  374. - --
  375. <><><><><><><><><><><><><><><>Go Orioles<><><><><><><><><><><><><><><><>
  376. <> Doug McNaught                          dougm@descartes.caltech.edu <>
  377. <>  Help!!! I'm addicted to *Spaceward Ho!* Is there a support group? <>
  378. <><><><><><><><><><><><><><><>Go Orioles<><><><><><><><><><><><><><><><>
  379.  
  380. +++++++++++++++++++++++++++
  381.  
  382. From: zobkiw@world.std.com (Joe Zobkiw)
  383. Organization: The World Public Access UNIX, Brookline, MA
  384. Date: Fri, 10 Apr 1992 14:11:29 GMT
  385.  
  386. << If one doesn't exist perhaps someone could make one available for ftp.
  387. >>
  388.  
  389. Hmmm...this makes no sense to me. If it doesn't exist, how can it be
  390. made available?
  391.  
  392. In any case...you probably mean scrolling window? I would agree that it
  393. would be nice if THINK C's console window was a bit more like MPW's 
  394. worksheet. I don't know if anything like this exists...but it may.
  395.  
  396.  
  397. - -- 
  398. <--------------------------------------------------->
  399.  joe zobkiw                     zobkiw@world.std.com
  400.  mac.synthesis.MIDI.development.C.asm.communications
  401. >---------------------------------------------------<
  402.  
  403. ---------------------------
  404.  
  405. From: mike@zorch.SF-Bay.ORG (Mike Smithwick)
  406. Subject: TextWidth Weirdness
  407. Date: 9 Apr 92 20:46:07 GMT
  408. Organization: SF-Bay Public-Access Unix
  409.  
  410. []
  411.  
  412. I am calling TextWidth to determine the width of a rectangle I need
  413. to block out some text, but the width is always falling short of the
  414. true width on the screen. It's coming out to be something like 80% of the
  415. real width. So the longer the string the more characters it skips. Is
  416. there something strange about TextWidth that I'm missing?
  417.  
  418.  
  419. mike
  420.  
  421. - -- 
  422. "There is no problem too big that can't be solved with high explosives"-Rush
  423.  
  424. Mike Smithwick - ames!zorch!mike
  425.  
  426. +++++++++++++++++++++++++++
  427.  
  428. From: zobkiw@world.std.com (Joe Zobkiw)
  429. Date: 10 Apr 92 14:16:20 GMT
  430. Organization: The World Public Access UNIX, Brookline, MA
  431.  
  432. << I am calling TextWidth to determine the width of a rectangle I need
  433. to block out some text, but the width is always falling short of the
  434. true width on the screen. It's coming out to be something like 80% of the
  435. real width. So the longer the string the more characters it skips. Is
  436. there something strange about TextWidth that I'm missing? >>
  437.  
  438. TextWidth probably works on the current port and the current font, size, and
  439. style (etc.) so you should make sure all of these things are set correctly
  440. before making to call.
  441.  
  442.  
  443. - -- 
  444. <--------------------------------------------------->
  445.  joe zobkiw                     zobkiw@world.std.com
  446.  mac.synthesis.MIDI.development.C.asm.communications
  447. >---------------------------------------------------<
  448.  
  449. ---------------------------
  450.  
  451. From: news@massey.ac.nz (USENET News System)
  452. Subject: Reading binary input
  453. Date: 9 Apr 92 23:25:41 GMT
  454. Organization: SMIS, Massey University, NZ
  455.  
  456. This is a posting on behalf of a student without News access.  He wants source
  457. code (any language) which takes a stream of binary input from a synchronous A/D
  458. converter plugged into a serial port of a IIci, and read it into a file. 
  459. Someone has already suggested using the Sound Manager library, any comments on
  460. this, or other suggestions?
  461.  
  462. Phil Etheridge              Internet: P.Etheridge@massey.ac.nz
  463. Macintosh Consultant        Phone:    +64+6-356 9099 ext 8689
  464. SMIS, Massey University     Fax:      +64+6-350 5611
  465. Palmerston North, NZ        40*23'S, 175*37'E ;  GMT+12
  466.  
  467. +++++++++++++++++++++++++++
  468.  
  469. From: zobkiw@world.std.com (Joe Zobkiw)
  470. Date: 10 Apr 92 14:19:32 GMT
  471. Organization: The World Public Access UNIX, Brookline, MA
  472.  
  473. << This is a posting on behalf of a student without News access.  He wants source
  474. code (any language) which takes a stream of binary input from a synchronous A/D
  475. converter plugged into a serial port of a IIci, and read it into a file. 
  476. Someone has already suggested using the Sound Manager library, any comments on
  477. this, or other suggestions? >>
  478.  
  479. You might want to check out the MacRecorder Hackers Toolkit which may
  480. still be available from Macromind/Paracomp. I know it's on America Online
  481. and probably CI$. It shows how to read and write audio data to the serial
  482. port and may be what you need.
  483.  
  484.  
  485. - -- 
  486. <--------------------------------------------------->
  487.  joe zobkiw                     zobkiw@world.std.com
  488.  mac.synthesis.MIDI.development.C.asm.communications
  489. >---------------------------------------------------<
  490.  
  491. +++++++++++++++++++++++++++
  492.  
  493. From: bill@extro.ucc.su.OZ.AU (William Logan Lee)
  494. Date: 11 Apr 92 08:39:40 GMT
  495. Organization: Uni Computing Service, Uni of Sydney, Australia
  496.  
  497. In article <1992Apr9.232541.6361@massey.ac.nz> P.Etheridge@massey.ac.nz writes:
  498. >This is a posting on behalf of a student without News access.  He wants source
  499. >code (any language) which takes a stream of binary input from a synchronous A/D
  500. >converter plugged into a serial port of a IIci, and read it into a file. 
  501. >Someone has already suggested using the Sound Manager library, any comments on
  502. >this, or other suggestions?
  503.  
  504. Perhaps I am misunderstanding the problem, but why doesn't he use a terminal
  505. emulator like "kermit" or "zterm" to capture the input, if it does not need
  506. to be processed in real time?
  507.  
  508. If the information needs to be processed real-time, then what about using the
  509. Communications Toolbox routines?  
  510.  
  511. Although not recommended (but sometimes you have no choice), you can input
  512. a clock signal for some non-standard baud rate input to the port.  You then
  513. have to muck about directly with the serial chip.
  514.  
  515. Could you post a bit more info on what sort of input to the serial port
  516. you are trying to read and also whether there is real time processing
  517. needed?
  518.  
  519. >Phil Etheridge
  520.  
  521. Bill Lee
  522.  
  523. ---------------------------
  524.  
  525. From: jth@acpub.duke.edu (JASON HOLTZAPPLE)
  526. Subject: Symantec FTP Site
  527. Date: 9 Apr 92 23:12:09 GMT
  528. Organization: Duke University; Durham, N.C.
  529.  
  530. Thanks to all of you who let me know that Symantec's ftp site is at
  531.  
  532. ics.uci.edu
  533. in the mac/thinkc directory
  534.  
  535. This info should be useful since I didn't see it in the FAQ.
  536. - -Jason Holtz
  537.  
  538.  
  539.  
  540. - -- 
  541. | ****  Jason Holtz                      jth@acpub.duke.edu  ***** |
  542. | ****  "And the knowledge that they fear is a weapon to be  ***** |
  543. | ****           used against them" - Rush,  1982            ***** |
  544.  
  545. +++++++++++++++++++++++++++
  546.  
  547. From: nielsen@bellcore.com (Jakob Nielsen)
  548. Date: 10 Apr 92 20:12:51 GMT
  549. Organization: Bellcore - Bell Communications Research
  550.  
  551. OK, so what is the FTP site for Think *Pascal* ?
  552. - --
  553. Jakob Nielsen, nielsen@bellcore.com, fax (201)  829-2645
  554. Bellcore, MRE 2P-370, 445 South St., Morristown, NJ 09792-1910, USA
  555.  
  556. ---------------------------
  557.  
  558. From: bluecow@unix.cis.pitt.edu (Tobish E Smith)
  559. Subject: Doing playthru on a Quadra
  560. Date: 10 Apr 92 21:15:57 GMT
  561. Organization: University of Pittsburgh
  562.  
  563. I'm trying to get continuous sound play-thru on my Quadra (a la the Audio
  564. dialog box in Hypercard 2.1).  Having purused IM VI, it _seems_ that this
  565. should be possible with just two calls:
  566.  
  567. err = SPBOpenDevice(NIL, siWritePermission, &myRefNum);
  568. SPBSetDeviceInfo(myRefNum, siPlayThruOnOff, daPtr);
  569.  
  570. (where the value in daPtr is something between 1 and 7)
  571.  
  572. I know there's a little PD program available (actually, it may be shareware...)
  573. called PlayThru which is supposed to do just this, but it doesn't work on
  574. my Quadra (even though the play-thru in Hypercard works fine), so I'm
  575. suspecting that perhaps the Q requires some extra code or something.  Can
  576. anyone shed some light on this please?
  577.  
  578. Thanks,
  579. Tob
  580.  
  581. bluecow@unix.cis.pitt.edu
  582.  
  583. +++++++++++++++++++++++++++
  584.  
  585. From: sc5h+@andrew.cmu.edu (Shawn James Cokus)
  586. Date: 11 Apr 92 14:38:38 GMT
  587. Organization: Freshman, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
  588.  
  589.  
  590. >I'm trying to get continuous sound play-thru on my Quadra (a la the Audio
  591. >dialog box in Hypercard 2.1).  Having purused IM VI, it _seems_ that this
  592. >should be possible with just two calls:
  593. >err = SPBOpenDevice(NIL, siWritePermission, &myRefNum);
  594. >SPBSetDeviceInfo(myRefNum, siPlayThruOnOff, daPtr);
  595. >(where the value in daPtr is something between 1 and 7)
  596. >I know there's a little PD program available (actually, it may be
  597. shareware...)
  598. >called PlayThru which is supposed to do just this, but it doesn't work on
  599. >my Quadra (even though the play-thru in Hypercard works fine), so I'm
  600. >suspecting that perhaps the Q requires some extra code or something.  Can
  601. >anyone shed some light on this please?
  602. >Thanks,
  603. >Tob
  604. >bluecow@unix.cis.pitt.edu
  605.  
  606. I'm the author of "Play-Thru!" and the problem really isn't the Quadra,
  607. but System 7.0.1.  When 7.0 was around, those two calls above would have
  608. set play-through on.  However, something odd happened and now you also
  609. have to turn on meter levelling.  Don't ask why.  Don't ask how long it
  610. took me to figure that out.  ;-)  Anyways, I've been meaning to fix
  611. Play-Thru! 1.0 for a while, but in the process I've also been doing a
  612. massive overhaul into a cdev/INIT thing with new features; I can't
  613. promise it anytime soon...
  614.  
  615. - --Shawn.
  616.  
  617. ---------------------------
  618.  
  619. From: Charles McClary <cmcclary@indiana.edu>
  620. Subject: How do you get the top, left, width, and heighth  from a WIND
  621. Organization: Indiana University
  622. Date: Fri, 10 Apr 92 21:27:50 GMT
  623.  
  624.  
  625.  
  626. +++++++++++++++++++++++++++
  627.  
  628. From: jcav@quads.uchicago.edu (JohnC)
  629. Organization: The Royal Society for Putting Things on Top of Other Things
  630. Date: Fri, 10 Apr 1992 22:01:55 GMT
  631.  
  632. Here's some code:
  633.  
  634. TYPE
  635.  
  636.   WindowTHndl = ^WindowTPtr;
  637.   WindowTPtr = ^WindowTemplate;
  638.   WindowTemplate = record
  639.     bounds: rect;
  640.     procID: integer;
  641.     visible: boolean;
  642.     filler1: boolean;
  643.     goAwayFlag: boolean;
  644.     filler2: boolean;
  645.     refCon: longint;
  646.     title: Str255;
  647.    end; { WindowTemplate = record }
  648.  
  649.  
  650. Just use this type to cast the result of _GetResource.  Also, be aware that
  651. System 7 adds additional fields to the window template to implement the new
  652. auto-position feature (and possibly other things I don't know about).
  653.  
  654.  
  655. - -- 
  656. John Cavallino                  |  EMail: jcav@midway.uchicago.edu
  657. University of Chicago Hospitals |         John_Cavallino@uchfm.bsd.uchicago.edu
  658. Office of Facilities Management | USMail: 5841 S. Maryland Ave, MC 0953
  659. B0 f++ c+ g+ k s++ e+ h- pv     |         Chicago, IL  60637
  660.  
  661. +++++++++++++++++++++++++++
  662.  
  663. From: jbush@magnus.acs.ohio-state.edu (John E Bush)
  664. Date: 11 Apr 92 04:20:44 GMT
  665. Organization: The Ohio State University
  666.  
  667. This message is responded to as if you are using Think Pascal's library, but
  668. there is probably something equivalent for other development environments:
  669.  
  670. There is a procedure in the CWindow class that returns a structure to you
  671. called GetFrame(var theFrame:LongRect) which returns the size of the
  672. window to you.
  673.  
  674. ---------------------------
  675.  
  676. Organization: City University of New York/ University Computer Center
  677. Date: Monday, 16 Mar 1992 19:26:39 EST
  678. From: <VALHC@CUNYVM.BITNET>
  679. Subject: BASIC on the mac
  680.  
  681. A programmer I know who uses Micrsoft QuickBASIC for IBM compatibles is
  682.  
  683. planning to do some work on the Mac and has asked me to pass on any helpful
  684. information regarding the availability of BASIC compilers for the mac.
  685.  
  686. He is also interested in participating in any Macintosh application users'
  687.  
  688. groups.
  689.  
  690.  
  691. Thanks in advance for any info...
  692.  
  693.  
  694. +++++++++++++++++++++++++++
  695.  
  696. From: Ray.Arachelian@f204.n2603.z1.ieee.org (Ray Arachelian)
  697. Date: 27 Mar 92 04:02:00 GMT
  698. Organization: FidoNet node 1:2603/204 - Not Even Odd, Forest Hills NY
  699.  
  700. On 03-16-92, VALHC@CUNYVM.BITNET wrote to ALL:
  701.  
  702.  V> A programmer I know who uses Micrsoft QuickBASIC for IBM compatibles 
  703.  V> is
  704.  V>  
  705.  V> planning to do some work on the Mac and has asked me to pass on any 
  706.  V> helpful information regarding the availability of BASIC compilers for 
  707.  V> the mac. 
  708.  
  709. Microsoft has a Basic compiler for the Mac.  There is also a company 
  710. called Zedcor which produces a product called ZBasic.
  711.  
  712.  * Freddie 1.1 * You have been found guilty of commerce with the devil.
  713.  
  714. - --  
  715. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  716.  Ray Arachelian - Internet: Ray.Arachelian@f204.n2603.z1.ieee.org
  717.  
  718. +++++++++++++++++++++++++++
  719.  
  720. From: miyazaki@phoenix.Princeton.EDU (Takeshi Miyazaki)
  721. Organization: Princeton University
  722. Date: Wed, 1 Apr 1992 05:50:02 GMT
  723.  
  724. In article <13251.29D7DD4E@zeus.ieee.org> Ray.Arachelian@f204.n2603.z1.ieee.org (Ray Arachelian) writes:
  725. >Microsoft has a Basic compiler for the Mac.  There is also a company 
  726. >called Zedcor which produces a product called ZBasic.
  727.  
  728. Are they System 7 compatible?
  729.  
  730. - -- 
  731. Takeshi Miyazaki (miyazaki@ee.princeton.edu)
  732.  
  733. +++++++++++++++++++++++++++
  734.  
  735. From: Ray.Arachelian@f204.n2603.z1.ieee.org (Ray Arachelian)
  736. Date: 9 Apr 92 21:59:00 GMT
  737. Organization: FidoNet node 1:2603/204 - Not Even Odd, Forest Hills NY
  738.  
  739. On 04-01-92, MIYAZAKI@PHOENIX.PRINCETO wrote to ALL:
  740.  
  741.  M>  Are they System 7 compatible? 
  742.  
  743. ZBasic isn't System 7 savvy, but it sure as hell is system 7 compatible.
  744.  
  745.  * Freddie 1.2b7 * You have been found guilty of commerce with the devil.
  746.  
  747. - --  
  748. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  749.  Ray Arachelian - Internet: Ray.Arachelian@f204.n2603.z1.ieee.org
  750.  
  751. ---------------------------
  752.  
  753. From: triantos@acsu.buffalo.edu (Nick B Triantos)
  754. Subject: More help with app startup tracing, please.
  755. Date: 19 Mar 92 14:21:27 GMT
  756. Organization: The University at Buffalo
  757.  
  758. Hi.
  759.  
  760. Thanks to all who helped me with info about tracing the loading of an
  761. application.  I understand that CODE #0 sets up the jump table, but I'm still
  762. unclear as to what happens from there.  A pointer is DEC.W'd (decremented,
  763. right?), and then a MOVE.W takes place, then _LoadSeg is called.  After all of
  764. these steps are repeated, though, how am I able to know what segment is going
  765. to be JMP'ed to?  For example, here's just one I'll make up:
  766.  
  767.    000020  DC.W      $0092
  768.    000022  MOVE.W    #$0001,-(A7)
  769.    000026  _LoadSeg
  770.  
  771. so, offset $0092 in segment CODE #1 is loaded, right?  Does the JMP simply go
  772. to the first code segment in the jump table?
  773.  
  774. Thanks in advance for any help...
  775.  
  776. - -Nick
  777.  
  778. - --
  779. Nick Triantos   Grad Student, University at Buffalo.  Why?  I DON'T KNOW!
  780.      "...and besides, she's a psycho hose-beast." - Wayne, from Wayne's World
  781.  
  782. I! Hi'm a mtatng siugnaturei vir*ss. You cann~t reisth elping me  spre]d !
  783.  
  784. +++++++++++++++++++++++++++
  785.  
  786. From: russotto@eng.umd.edu (Matthew T. Russotto)
  787. Date: Thu, 19 Mar 92 15:09:45 GMT
  788. Organization: College of Engineering, University of Maryland, College Park
  789.  
  790. In article <1992Mar19.142133.4944@acsu.buffalo.edu> triantos@acsu.buffalo.edu (Nick B Triantos) writes:
  791. >Hi.
  792. >
  793. >Thanks to all who helped me with info about tracing the loading of an
  794. >application.  I understand that CODE #0 sets up the jump table, but I'm still
  795. >unclear as to what happens from there.  A pointer is DEC.W'd (decremented,
  796. >right?), and then a MOVE.W takes place, then _LoadSeg is called.
  797. Nope, the 68000 has no DEC instruction.  "DC.W" means "stick this word
  798. length data in the code space"-- it is not an instruction.  The code
  799. that loads the app jumps to the MOVE instruction
  800.  
  801. > After all of
  802. >these steps are repeated, though, how am I able to know what segment is going
  803. >to be JMP'ed to?  For example, here's just one I'll make up:
  804. >
  805. >   000020  DC.W      $0092
  806. >   000022  MOVE.W    #$0001,-(A7)
  807. >   000026  _LoadSeg
  808. >
  809. >so, offset $0092 in segment CODE #1 is loaded, right?  Does the JMP simply go
  810. >to the first code segment in the jump table?
  811.  
  812. Loadseg patches the location it is called from, resulting in the above
  813. being changed to
  814.   000020 DC.W  $0092
  815.   000022 JMP  xxxxxxxx
  816.  
  817. Where 'xxxxxxxx' is the location in memory of the routine referred to.
  818.  
  819. - -- 
  820. Matthew T. Russotto    russotto@eng.umd.edu    russotto@wam.umd.edu
  821. Some news readers expect "Disclaimer:" here.
  822. Just say NO to police searches and seizures.  Make them use force.
  823. (not responsible for bodily harm resulting from following above advice)
  824.  
  825. +++++++++++++++++++++++++++
  826.  
  827. From: ABSURD@applelink.apple.com (Tim Dierks, ToyMeister, Cray abuser)
  828. Date: 31 Mar 92 03:58:50 GMT
  829. Organization: MacDTS, Apple Computer
  830.  
  831. In article <1992Mar19.150945.12860@eng.umd.edu>, russotto@eng.umd.edu (Matthew T. Russotto) writes:
  832. > > After all of
  833. > >these steps are repeated, though, how am I able to know what segment is going
  834. > >to be JMP'ed to?  For example, here's just one I'll make up:
  835. > >
  836. > >   000020  DC.W      $0092
  837. > >   000022  MOVE.W    #$0001,-(A7)
  838. > >   000026  _LoadSeg
  839. > >
  840. > >so, offset $0092 in segment CODE #1 is loaded, right?  Does the JMP simply go
  841. > >to the first code segment in the jump table?
  842. >
  843. > Loadseg patches the location it is called from, resulting in the above
  844. > being changed to
  845. >   000020 DC.W  $0092
  846. >   000022 JMP  xxxxxxxx
  847. > Where 'xxxxxxxx' is the location in memory of the routine referred to.
  848.  
  849. Useful hint:
  850.  
  851. You can't trace over LoadSeg.  This is because LoadSeg never returns; instead,
  852. it jumps through to the call you intend to go to.  So what you can do is set
  853. the low memory global LoadTrap to a non-zero value, and the segment loader will
  854. break into the debugger before it jumps to the destination.  (LoadTrap is a
  855. byte-long global at address $12D.  In MacsBug, type "sb loadtrap 1" to turn
  856. this on and "sb loadtrap 0" to turn it off.  If you're running without a
  857. complete Debugger Prefs file, replace "loadtrap" with "12D".)
  858.  
  859. This is also really useful if you want to break at the start of a call, but its
  860. segment has not been loaded yet.  You can break after the LoadSeg by setting
  861. loadtrap, and each time check to see if the function has been loaded yet.
  862.  
  863. Enjoy!
  864. Tim Dierks
  865. MacDTS, but I'm not _all_ bad.
  866.  
  867. +++++++++++++++++++++++++++
  868.  
  869. From: Michael_Hecht@mac.sas.com (Michael Hecht)
  870. Date: 31 Mar 92 22:36:24 GMT
  871. Organization: SAS Institute Inc.
  872.  
  873. In article <22203@goofy.Apple.COM>,
  874.    ABSURD@applelink.apple.com (Tim Dierks, ToyMeister, Cray abuser) writes:
  875. > In article <1992Mar19.150945.12860@eng.umd.edu>,
  876. >    russotto@eng.umd.edu (Matthew T. Russotto) writes:
  877. > > > After all of these steps are repeated, though, how am I able to know
  878. > > > what segment is going to be JMP'ed to?
  879. > Useful hint:
  880. > You can't trace over LoadSeg.  This is because LoadSeg never returns; instead,
  881. > it jumps through to the call you intend to go to.  So what you can do is set
  882. > the low memory global LoadTrap to a non-zero value, and the segment loader will
  883. > break into the debugger before it jumps to the destination.
  884.  
  885. The "Debugger Prefs" file that comes with MacsBug 6.2.2 includes a handy macro
  886. for doing exactly that:
  887.  
  888.   GS
  889.  
  890. which is defined as
  891.  
  892.   SB 12D 1;G;T 2;SB 12D 0
  893.  
  894.  
  895. - --Michael
  896.  
  897. =======================================================================
  898. Michael P. Hecht                 | Internet:  Michael_Hecht@mac.sas.com
  899. SAS Institute Inc.; Cary, NC USA | AppleLink: SAS.HECHT
  900.  
  901. +++++++++++++++++++++++++++
  902.  
  903. From: triantos@acsu.buffalo.edu (Nick B Triantos)
  904. Date: 1 Apr 92 05:57:43 GMT
  905. Organization: The University at Buffalo
  906.  
  907. Forgive me for sounding naive, but I'm still not really able to follow what is
  908. going on during the segment loading process.  CODE 0 tells the system to load a
  909. segment, maybe more than one at a time.  Then it (I think) JMP's to the
  910. beginning of the segment, yes?  I think that if I'm able to see what a program
  911. is doing just before, during, and after its startup screen is displayed, I may
  912. be able to figure out why I can't get it to work correctly.
  913.  
  914. I'm no longer interested in making the program work, but I'd really love to
  915. understand the application startup process better.
  916.  
  917. Thanks,
  918. - -Nick
  919.  
  920.  
  921. - --
  922. Nick Triantos   Grad Student, University at Buffalo.  Why?  I DON'T KNOW!
  923.      "...and besides, she's a psycho hose-beast." - Wayne, from Wayne's World
  924.  
  925. I! Hi'm a mtatng siugnaturei vir*ss. You cann~t reisth elping me  spre]d !
  926.  
  927. +++++++++++++++++++++++++++
  928.  
  929. From: d88-jwa@hemul.nada.kth.se (Jon W{tte)
  930. Date: 2 Apr 92 08:31:25 GMT
  931. Organization: Royal Institute of Technology, Stockholm, Sweden
  932.  
  933. .buffalo.edu> triantos@acsu.buffalo.edu (Nick B Triantos) writes:
  934.  
  935.    Forgive me for sounding naive, but I'm still not really able to follow
  936.    what is going on during the segment loading process.  CODE 0 tells the
  937.    system to load a segment, maybe more than one at a time.  Then it
  938.    (I think) JMP's to the beginning of the segment, yes?
  939.  
  940. No.
  941.  
  942. Inside Mac II has an explanation of the jump tables, and it's
  943. really not that hard to follow. A jump table entry for an unloaded
  944. segment consists of some offset information, segment information,
  945. and a LoadSeg trap. The LoadSeg trap checks who called it (the jump
  946. table; code 0) to get at the offset and segment information, and
  947. then loads that code resource, and jumps to the specified offset
  948. in that resource, after changing the entry in the jump table to
  949. a "JMP" instruction pointing at the now loaded code, and flushing
  950. the cache.
  951.  
  952. As you see, a maximum of one segment is ever loaded at one time.
  953. What happens at startup is that your heap gets initialized, and
  954. the system runs the first jump table entry of CODE 0. The rest is
  955. up to what the compiler/linker generated.
  956.  
  957. Some early viruses used this mechanism to patch into applications.
  958. However, any "generic" virus checker catches tampering with these
  959. structures now, so doing it again would be pretty pointless.
  960.  
  961. - -- 
  962. h+@nada.kth.se; Jon W{tte, the Diplomat - NOT!
  963.  
  964. +++++++++++++++++++++++++++
  965.  
  966. From: ksand@apple.com (Kent Sandvik)
  967. Date: 10 Apr 92 01:46:54 GMT
  968. Organization: MacDTS Mongols
  969.  
  970. In article <1992Apr1.055747.12908@acsu.buffalo.edu>, triantos@acsu.buffalo.edu
  971. (Nick B Triantos) writes:
  972. > Forgive me for sounding naive, but I'm still not really able to follow what is
  973. > going on during the segment loading process.  CODE 0 tells the system to load
  974. a
  975. > segment, maybe more than one at a time.  Then it (I think) JMP's to the
  976. > beginning of the segment, yes?  I think that if I'm able to see what a program
  977. > is doing just before, during, and after its startup screen is displayed, I may
  978. > be able to figure out why I can't get it to work correctly.
  979. > I'm no longer interested in making the program work, but I'd really love to
  980. > understand the application startup process better.
  981.  
  982. Inside Macintosh, Second book, Segment Loader (second chapter) is what you need
  983. to read.
  984.  
  985. Speaking about runtime issues, and especially model far which is a new beast
  986. to understand, the forthcoming MPW documentation has a good chapter which 
  987. has an inside-out description of how everything works together. I can't say
  988. the exact day/time this documentation is ready, but we are speaking about months
  989. or maybe weeks.
  990.  
  991. Cheers,
  992. Kent Sandvik
  993. Dynamic Language Materialist
  994.  
  995. ---------------------------
  996.  
  997. From: e-sink@uiuc.edu (Eric W. Sink)
  998. Subject: ATTN: Addison Weseley (sp): Book idea
  999. Date: 1 Apr 92 14:52:04 GMT
  1000. Organization: University of Illinois at Urbana-Champaign
  1001.  
  1002. I want a SMALL, INEXPENSIVE, INCOMPLETE reference to the Mac
  1003. Toolbox.  I'm thinking, like the size of a Star Trek novel,
  1004. selling for 5.95 or something like that.  Pack all the info you
  1005. can into this thing of course, but I'd be happy with a prototype
  1006. and a one line description of every toolbox call.
  1007. I don't want IM crammed into a pocket book.  I want a pocket book
  1008. with as much Mac info as possible.
  1009.  
  1010. Anybody else think this would be handy ?
  1011.  
  1012. - -- 
  1013. Eric W. Sink,  Spatial Analysis and Systems Team
  1014. USACERL, P.O. Box 9005, Champaign, IL 61826-9005
  1015. 1-800-USA-CERL x449,   e-sink@uiuc.edu
  1016.  
  1017. +++++++++++++++++++++++++++
  1018.  
  1019. From: alana@sisters.cs.uoregon.edu (Thomas Alan Akins)
  1020. Organization: /local/lib/rn/organization
  1021. Date: Wed, 1 Apr 1992 21:49:22 GMT
  1022.  
  1023. In article <1992Apr1.145204.28834@sunb10.cs.uiuc.edu> e-sink@uiuc.edu writes:
  1024. >I want a SMALL, INEXPENSIVE, INCOMPLETE reference to the Mac
  1025. >Toolbox.  I'm thinking, like the size of a Star Trek novel,
  1026. >selling for 5.95 or something like that.  Pack all the info you
  1027. >can into this thing of course, but I'd be happy with a prototype
  1028. >and a one line description of every toolbox call.
  1029. >I don't want IM crammed into a pocket book.  I want a pocket book
  1030. >with as much Mac info as possible.
  1031. >
  1032. >Anybody else think this would be handy ?
  1033.  
  1034. Could be... But why whine at A-W? They just publish, they don't write.  If you
  1035. want a book like that, write one yourself or (and this is REALLY outlandish)
  1036. try asking Apple about it.
  1037.  
  1038. About the price... well... you get what you pay for...
  1039.  
  1040. - -- 
  1041. *                                            Alan Akins                      *
  1042. *       "I could say 'addition'              alana@cs.uoregon.edu            *
  1043. *        when I mean ... 'basketball.'"      University of Oregon            *
  1044. *                        - E. Tick           Department of Computer Science  *
  1045.  
  1046. +++++++++++++++++++++++++++
  1047.  
  1048. From: a-giles@uchicago.edu (Aaron Giles)
  1049. Date: 1 Apr 92 22:24:54 GMT
  1050. Organization: University of Chicago High Energy Physics
  1051.  
  1052.  
  1053. >I want a SMALL, INEXPENSIVE, INCOMPLETE reference to the Mac
  1054. >Toolbox.  I'm thinking, like the size of a Star Trek novel,
  1055. >selling for 5.95 or something like that.  Pack all the info you
  1056. >can into this thing of course, but I'd be happy with a prototype
  1057. >and a one line description of every toolbox call.
  1058.  
  1059. Get yourself a copy of SaveATree and the MPW C .h files (from
  1060. ftp.apple.com).  Works for me ... at least until I can afford the IM
  1061. volumes! :-)
  1062.  
  1063. Aaron
  1064. - -----
  1065.                      Aaron Giles -- a-giles@uchicago.edu
  1066.            "You can't have everything ... where would you put it?"
  1067.  
  1068. +++++++++++++++++++++++++++
  1069.  
  1070. From: e-sink@uiuc.edu (Eric W. Sink)
  1071. Organization: University of Illinois at Urbana-Champaign
  1072. Date: Thu, 2 Apr 1992 14:03:35 GMT
  1073.  
  1074. In <1992Apr1.214922.6125@cs.uoregon.edu> alana@sisters.cs.uoregon.edu (Thomas Alan Akins) writes:
  1075.  
  1076. >Could be... But why whine at A-W? They just publish, they don't write.  If you
  1077. >want a book like that, write one yourself or (and this is REALLY outlandish)
  1078. >try asking Apple about it.
  1079.  
  1080. Whine ?
  1081.  
  1082. Point taken, AW doesn't publish, but it seemed plausible to me that they
  1083. know a few people who do write.  You know, like maybe they know them better
  1084. than I do.  Maybe they could suggest that one of them write it.  It's
  1085. more of a compilation task than a writing one in my opinion.  Still, it
  1086. seemed to me that AW has more contacts in the writing industry.
  1087. Besides, I only stuck AW in the title because I know they do tech stuff.
  1088. I certainly didn't expect anyone at AW to read the message.
  1089.  
  1090. Whine ?!?
  1091.  
  1092. Write it myself ?  Not an atrocious idea, but I can't really say that I
  1093. have the time.
  1094.  
  1095. WHINE ???!!!!!
  1096.  
  1097. Ask Apple about it ?  Yes, very outlandish.  After six months, 2 emails,
  1098. 2 written letters, and one phone call, I've *just* gotten the paperwork
  1099. I needed from Apple licensing; and they sent the wrong forms.  Square one,
  1100. here I come.
  1101.  
  1102. - -- 
  1103. Eric W. Sink,  Spatial Analysis and Systems Team
  1104. USACERL, P.O. Box 9005, Champaign, IL 61826-9005
  1105. 1-800-USA-CERL x449,   e-sink@uiuc.edu
  1106.  
  1107. +++++++++++++++++++++++++++
  1108.  
  1109. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  1110. Date: 2 Apr 92 22:22:49 GMT
  1111. Organization: Royal Institute of Technology, Stockholm, Sweden
  1112.  
  1113. .uoregon.edu> alana@sisters.cs.uoregon.edu (Thomas Alan Akins) writes:
  1114.  
  1115.    The Mean C Compiler Author writes:
  1116.  
  1117.    >selling for 5.95 or something like that.  Pack all the info you
  1118.    >can into this thing of course, but I'd be happy with a prototype
  1119.    >and a one line description of every toolbox call.
  1120.  
  1121.    >I don't want IM crammed into a pocket book.  I want a pocket book
  1122.    >with as much Mac info as possible.
  1123.  
  1124.    Could be... But why whine at A-W? They just publish, they don't write.
  1125.    If you want a book like that, write one yourself or (and this is REALLY
  1126.    outlandish) try asking Apple about it.
  1127.  
  1128.    About the price... well... you get what you pay for...
  1129.  
  1130.  
  1131. Using "egrep" it took me all of a minute to generate that book !
  1132. Just filter the headers in some nice way, and there is your book.
  1133. You could even print it on a laser and fold it yourself !
  1134.  
  1135. Or at least, that info could serve as a nice ground for something
  1136. with added text and styling.
  1137.  
  1138. - -- 
  1139. h+@nada.kth.se; Jon W{tte, the Diplomat - NOT!
  1140.  
  1141. +++++++++++++++++++++++++++
  1142.  
  1143. From: eriks@lin.foa.se (Erik Svensson)
  1144. Date: 3 Apr 92 09:30:49 GMT
  1145. Organization: FOA, Linkoping, Sweden
  1146.  
  1147. e-sink@uiuc.edu (Eric W. Sink) writes:
  1148.  
  1149. >I want a SMALL, INEXPENSIVE, INCOMPLETE reference to the Mac
  1150. >Toolbox.  I'm thinking, like the size of a Star Trek novel,
  1151. >selling for 5.95 or something like that.  Pack all the info you
  1152. >can into this thing of course, but I'd be happy with a prototype
  1153. >and a one line description of every toolbox call.
  1154. >I don't want IM crammed into a pocket book.  I want a pocket book
  1155. >with as much Mac info as possible.
  1156.  
  1157. >Anybody else think this would be handy ?
  1158.  
  1159. Well, I'd buy it. Perhaps add a "Where-to-look-for-more-info-about-this-call"
  1160. line.
  1161.  
  1162. >-- 
  1163. >Eric W. Sink,  Spatial Analysis and Systems Team
  1164. >USACERL, P.O. Box 9005, Champaign, IL 61826-9005
  1165. >1-800-USA-CERL x449,   e-sink@uiuc.edu
  1166.  
  1167. Erik Svensson, Guided Weapons Division, National Defense Research Establishment
  1168. (FOA) Stockholm, Sweden
  1169. - --
  1170. Erik Svensson            Research Officer
  1171. Guided Weapons Division        National Defense Research Establishment (FOA)
  1172. Stockholm            Sweden
  1173.  
  1174. net.address:     eriks@fenix.lin.foa.se    /* preferred */
  1175.         erik@helios1.sto.foa.se
  1176.  
  1177. && This .sig is protected by SIGinfectant(tm). Look for the &&, a sure sign of
  1178.  
  1179. +++++++++++++++++++++++++++
  1180.  
  1181. From: burglin@amber.mgh.harvard.edu (Thomas Burglin)
  1182. Date: 6 Apr 92 06:25:00 GMT
  1183. Organization: Molecular Biology, Massachusetts General Hospital, Boston
  1184.  
  1185. In article <1992Apr3.093049.17563@lin.foa.se>, eriks@lin.foa.se (Erik Svensson) writes...
  1186. >e-sink@uiuc.edu (Eric W. Sink) writes:
  1187. >>I want a SMALL, INEXPENSIVE, INCOMPLETE reference to the Mac
  1188. >>Toolbox.  I'm thinking, like the size of a Star Trek novel,
  1189. >>selling for 5.95 or something like that.  Pack all the info you
  1190. >>can into this thing of course, but I'd be happy with a prototype
  1191. >>and a one line description of every toolbox call.
  1192. >>I don't want IM crammed into a pocket book.  I want a pocket book
  1193. >>with as much Mac info as possible.
  1194. >>Anybody else think this would be handy ?
  1195.  
  1196. Well, I also wish for something like that.  At the moment the
  1197. best alternative for me is Think Reference, but it's missing Volume 6.
  1198. Thomas Burglin
  1199.  
  1200. +++++++++++++++++++++++++++
  1201.  
  1202. From: burglin@amber.mgh.harvard.edu (Thomas Burglin)
  1203. Date: 6 Apr 92 06:25:00 GMT
  1204. Organization: Molecular Biology, Massachusetts General Hospital, Boston
  1205.  
  1206. In article <1992Apr3.093049.17563@lin.foa.se>, eriks@lin.foa.se (Erik Svensson) writes...
  1207. >e-sink@uiuc.edu (Eric W. Sink) writes:
  1208. >>I want a SMALL, INEXPENSIVE, INCOMPLETE reference to the Mac
  1209. >>Toolbox.  I'm thinking, like the size of a Star Trek novel,
  1210. >>selling for 5.95 or something like that.  Pack all the info you
  1211. >>can into this thing of course, but I'd be happy with a prototype
  1212. >>and a one line description of every toolbox call.
  1213. >>I don't want IM crammed into a pocket book.  I want a pocket book
  1214. >>with as much Mac info as possible.
  1215. >>Anybody else think this would be handy ?
  1216.  
  1217. Well, I also wish for something like that.  At the moment the
  1218. best alternative for me is Think Reference, but it's missing Volume 6.
  1219. Thomas Burglin
  1220.  
  1221. +++++++++++++++++++++++++++
  1222.  
  1223. From: ksand@apple.com (Kent Sandvik)
  1224. Date: 10 Apr 92 22:58:57 GMT
  1225. Organization: MacDTS Mongols
  1226.  
  1227. In article <1992Apr1.145204.28834@sunb10.cs.uiuc.edu>, e-sink@uiuc.edu (Eric W.
  1228. Sink) writes:
  1229. > I want a SMALL, INEXPENSIVE, INCOMPLETE reference to the Mac
  1230. > Toolbox.  I'm thinking, like the size of a Star Trek novel,
  1231. > selling for 5.95 or something like that.  Pack all the info you
  1232. > can into this thing of course, but I'd be happy with a prototype
  1233. > and a one line description of every toolbox call.
  1234. > I don't want IM crammed into a pocket book.  I want a pocket book
  1235. > with as much Mac info as possible.
  1236. > Anybody else think this would be handy ?
  1237.  
  1238. Robin Muir and Jeff Alger did a similar book long time ago for
  1239. MacApp 2.0, MADA published this one and it run out of stock/print
  1240. within months. I'm sure there's a market for a similar small
  1241. spiral-bound lookup-manual. Check out the MacApp version for the 
  1242. design, it's really slick.
  1243.  
  1244. Kent
  1245. ..who never got one of 'em.
  1246.  
  1247. ---------------------------
  1248.  
  1249. End of C.S.M.P. Digest
  1250. **********************
  1251.